﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="superadmin.aspx.cs" Inherits="HYSoft.Web.superadmin" %>
<%@ Register Src="~/Controls/menu.ascx" TagName="uc2" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <link href="CSS/mainstyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolderMenu" runat="server">
  <uc2:uc2 ID="head" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="contentPlaceHolderMain" runat="server">
 
    <div class="main">
        <div class="tables">
            <div class="toplogo">
                <div>
                    <img src="Images/top_2.png" width="10%" style="float: left;" />
                    <img src="Images/top.PNG" width="80%" style="float: left;" />
                    <img src="Images/top_2.png" width="10%" style="float: left;" />
                </div>
                <div style="position:relative;height:10px;top:-70px;margin:0px 0px 0px 25%;">
                <strong style="font-size:20px;"> 单位用户审批</strong>
                </div>
            </div>
            <div>
            <table style="width: 500px; height: 374px;">
                <tr>
                    <td colspan="2">
                        <strong>权限管理：作为超级用户，在此您可以对单位用户进行审批和修改读写权限！</strong>
                    </td>
                </tr>
                <tr>
                    <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                        <strong>用户名</strong>：
                    </td>
                    <td style="width: 300px; text-align: left;">
                        <asp:DropDownList ID="DropDownList4" runat="server" AutoPostBack="true">
                        </asp:DropDownList>
                        &nbsp;<b style="color: Red;">*</b>
                    </td>
                </tr>
                <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                <strong>单位：</strong>
                            </td>
                            <td style="width: 300px; text-align: left;">
                                <%#Eval("unit").ToString()%><b style="color: red">*</b>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                通信地址：
                            </td>
                            <td style="width: 300px; text-align: left;">
                                <%#Eval("addr").ToString()%>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                邮编：
                            </td>
                            <td style="width: 300px; text-align: left;">
                                <%#Eval("Postcode").ToString()%>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                所在区：
                            </td>
                            <td style="width: 300px; text-align: left;">
                                <%#Eval("m_area_name").ToString()%>
                                <b style="color: red">*</b>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                所在县：
                            </td>
                            <td style="width: 300px; text-align: left;">
                                <%#Eval("m_area_id").ToString()%>
                                <b style="color: red">*</b>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                联系人姓名：
                            </td>
                            <td style="width: 300px; text-align: left;">
                                <%#Eval("Name").ToString()%>
                                <b style="color: red">*</b>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                手机：
                            </td>
                            <td style="width: 300px; text-align: left;">
                                <%#Eval("Mobile").ToString()%>
                                <b style="color: red">*</b>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                座机：
                            </td>
                            <td style="width: 300px; text-align: left;">
                                <%#Eval("Telephone").ToString()%>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                传真：
                            </td>
                            <td style="width: 300px; text-align: left;">
                                <%#Eval("Fax").ToString()%>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                邮箱：
                            </td>
                            <td style="width: 300px; text-align: left;">
                                <%#Eval("Email").ToString()%>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <tr>
                    <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                        用户类别：
                    </td>
                    <td style="width: 300px; text-align: left;">
                        <asp:Label ID="Label11" runat="server" Text="单位用户"></asp:Label><b style="color: red">*</b>
                    </td>
                </tr>
                <%--<tr>
                        <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                        <strong>读写权限：</strong></td>
                        <td style="width: 500px; text-align: left;">
                            <asp:DropDownList ID="DropDownList1" runat="server">
                            
                                <asp:ListItem Value="0" >只读</asp:ListItem> 
                                <asp:ListItem Value="1" >读写</asp:ListItem>                        
                            </asp:DropDownList><b style="color: red">*</b></td>
                    </tr>--%>
                <tr>
                    <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                        <strong>审核类型：</strong>
                    </td>
                    <td style="width: 300px; text-align: left;">
                        <asp:DropDownList ID="DropDownList2" runat="server">
                            <asp:ListItem Value="0">未审核</asp:ListItem>
                            <asp:ListItem Value="1">已审核</asp:ListItem>
                        </asp:DropDownList>
                        <b style="color: red">*</b>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Button ID="Button1" runat="server" Text="更新修改" OnClick="Button1_Click" />
                    </td>
                    <td>
                        <asp:Button ID="Button2" runat="server" Text="放弃修改" OnClick="Button2_Click" />
                    </td>
                </tr>
            </table>
            </div>
           <div style=" height:200px; width:100%;"></div>
        </div>
        <br />
        <br />
    </div>

    <script language="javascript" type="text/javascript">
        function Del(ID) {
            if (confirm('你确认审核该会员信息吗?')) {
                self.location = "?Type=Del&ID=" + ID;
            }
        }
        function Update(ID) {
            self.location = "superadmin.aspx?type=Del&ID=" + ID;
        }

    </script>
</asp:Content>
